<?php
class City extends AppModel {
	var $name = 'City';
	var $displayField = 'name';
	var $hasMany = array(
		'Post' => array(
			'className' => 'Post',
			'foreignKey' => 'city_id',
			'dependent' => false,
		),
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'city_id',
			'dependent' => false,
		)
	);
}
?>